home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Introduction to 3D Game …ogramming with DirectX 12
/
Introduction-to-3D-Game-Programming-with-DirectX-12.ISO
/
Figures
/
Chapter 6 Drawing in Direct3D
/
Fig6-1.bmp
(
.png
)
next >
Tile
Bitmap Image
|
2016-03-02
|
1.4 MB
|
800x600
|
8-bit (33 colors)
ocr:
struct Vertex ( XMFLOAT3 Pos; XMFLOAT3 Normal; XMFLOAT2 Tex0; XMFLOAT2 Tex1; 1; D3D12 INPUT ELEMENT DESC vertexDescl] = f ("POSITION" 0, DXGI FORMAT R32632632_FLOAT, 0, 0, D3D12_INPUT PER VERTEX DATA, 0), ("NORMAL", 0, DXGI FORMAT R32G32B32. FLOAT, 0, 12, D3D12 INPUT PER VERTEX DATA, 0), ("TEXCOORD", 0, DXGI FORMAT R32G32 - FLOAT, 0, 24, D3D12 INPUT PER VERTEX DATA, 0), ("TEXCOORD", 1, DXGI FORMAT R32632_FLOAT, 0, 32, D3D12_INPUT PER VERTEX_ DATA, 0) 1; VertexOut VS(float3 iPos : POSITION, float3 iNormal : NORMAL, float2 iTex0 : TEXCOORDO, float2 iTex1 : TEXCOORD1)